Skip to content

查询赔付结果(按商户赔付单号)

商户单号查询赔付记录。

请求参数类型描述
out_bill_nostring商户单号
php
$instance->v3->platsolution->ecommerce->mchTransfer->compensateBills->outBillNo->_out_bill_no_->getAsync([
  'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/{out_bill_no}')->getAsync([
  'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/{out_bill_no}']->getAsync([
  'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->mchTransfer->compensateBills->outBillNo->_out_bill_no_->get([
  'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/{out_bill_no}')->get([
  'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/mch-transfer/compensate-bills/out-bill-no/{out_bill_no}']->get([
  'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sp_mchidstring服务商商户号
receiver_detailobject转账接收方信息
receiverobject转账接收者信息
typestring转账接收方类型
MERCHANT | TRANSACTION_USER 枚举值之一
transaction_infoobject转账接收方订单信息
transaction_idstring交易订单号
out_bill_nostring商户单号
amountnumber赔付金额
transfer_remarkstring赔付原因
bill_idstring微信支付转账单号
statestring赔付状态
ACCEPTED | SUCCESS | CLOSED | WAIT_USER_CONFIRM | CANCELING | CANCELLED 枚举值之一
accept_timestring受理时间
success_timestring成功时间
close_infoobject关单信息
accept_timestring关单时间
close_reasonstring关单原因
sponsor_mchidstring出资商户号

参阅 官方文档

Published on the GitHub by TheNorthMemory